package com.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class movie {
    private int id;
    private String movieName;
    private String movieImgPath;
    private String playScore;
    private float Score;
    private String translateName;
    private String type;
    private String producing;
    private float watchNum;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")/*输入的时间格式*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")/*输出的时间格式*/
    private Date showTime;

}
